﻿using INTEX.SCHEDULER;
using System.ComponentModel;
namespace WPFExcelReport
{
    /// <summary>
    /// Interaction logic for Machine.xaml
    /// </summary>

    public partial class XSJobBar
    { 
        public XSJobBar()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return; 
            InitializeComponent(); 
            MinPixes = 240;
            ProductionType = "Y";
        }
        public override void JobFace()
        {
            base.JobFace();
            if (TMV == null)
                return;
            DES = TMV.JP10 +"/" +TMV.JP11.Trim()+","+TMV.ABPFARBE.Trim() + "(" + TMV.VKPQTY.Trim() + ")" + TMV.VKPLIEFTERM.PadRight(8).Substring(4,2) + "." + TMV.VKPLIEFTERM.PadRight(8).Substring(6, 2);
        }
    }
}
